<template>
	<h2>AsyncComponent子级组件</h2>
	<h3>msg: {{ msg }}</h3>
</template>

<script lang="ts">
import { defineComponent } from "vue"

export default defineComponent({
	name: "AsyncComponent",
	setup(props) {
		return new Promise((resolve, reject) => {
			setTimeout(() => {
				msg: "what are you doing"
			}, 2000)
		})
		// return {}
	}
})
</script>

<style></style>
